<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>MRtrix documentation</title>
<link rel="stylesheet" href="../stylesheet.css" type="text/css" media=screen>
</head>
<body>

<table class=nav>
<tr>
<td><a href="dwi2SH.html"><img src="../left.png"></a></td>
<td><a href="index.html"><img src="../up.png"></a></td>
<td><a href="../index.html"><img src="../home.png"></a></td>
<th>dwi2tensor</th>
<td><a href="erode.html"><img src="../right.png"></a></td>
</tr>
</table>
<h2>Description</h2>
<p>
convert diffusion-weighted images to tensor images.
</p>
<p class=indented><strong>syntax:</strong> &nbsp; &nbsp; dwi2tensor [ options ] dwi tensor </p>
<h2>Arguments</h2>
<table class=args>
<tr><td><b>dwi</b></td>
<td>the input diffusion-weighted image.</td></tr>
<tr><td><b>tensor</b></td>
<td>the output diffusion tensor image.</td></tr>
</table>
<h2>Options</h2>
<table class=args>
<tr><td><b>-grad</b>&nbsp;<i>encoding</i></td>
<td>specify the diffusion-weighted gradient scheme used in the acquisition. The program will normally attempt to use the encoding stored in image header.
<table class=opts>
<tr><td><i>encoding</i></td>
<td>the gradient encoding, supplied as a 4xN text file with each line is in the format [ X Y Z b ], where [ X Y Z ] describe the direction of the applied gradient, and b gives the b-value in units (1000 s/mm^2).</td></tr>
</table></td></tr>
<tr><td><b>-ignoreslices</b>&nbsp;<i>slice</i>&nbsp;<i>volumes</i></td>
<td>ignore the image slices specified when computing the tensor.
<table class=opts>
<tr><td><i>slice</i></td>
<td>the z coordinate of the slice to be ignored</td></tr>
<tr><td><i>volumes</i></td>
<td>the volume numbers of the slice to be ignored</td></tr>
</table></td></tr>
<tr><td><b>-ignorevolumes</b>&nbsp;<i>volumes</i></td>
<td>ignore the image volumes specified when computing the tensor.
<table class=opts>
<tr><td><i>volumes</i></td>
<td>the volumes to be ignored</td></tr>
</table></td></tr>
<tr><td><b>-info</b></td>
<td>display information messages.</td></tr>
<tr><td><b>-quiet</b></td>
<td>do not display information messages or progress status.</td></tr>
<tr><td><b>-debug</b></td>
<td>display debugging messages.</td></tr>
<tr><td><b>-help</b></td>
<td>display this information page and exit.</td></tr>
<tr><td><b>-version</b></td>
<td>display version information and exit.</td></tr>
</table>
</body>
</html>